package org.dromara.business.domain;

import lombok.NoArgsConstructor;
import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 用户收藏对象 business_collect
 *
 * @author zlj
 * @date 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@TableName("business_collect")
public class BusinessCollect extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "business_collect_id")
    private Long businessCollectId;

    /**
     * 收藏人id
     */
    private Long userId;

    /**
     * 被收藏人id
     */
    private Long userIdPassivity;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    private String delFlag;


}
